commonlibsse_ng\re\b/
BGSKeywordForm.rs

1use crate::re::BGSKeyword::BGSKeyword;
2use crate::re::BaseFormComponent::BaseFormComponent;
3use crate::re::BaseFormComponent::BaseFormComponentVtbl;
4use crate::re::offsets_rtti::RTTI_BGSKeywordForm;
5use crate::re::offsets_vtable::VTABLE_BGSKeywordForm;
6use crate::rel::id::VariantID;
7
8#[repr(C)]
9#[derive(Debug)]
10pub struct BGSKeywordForm {
11    pub __base: BaseFormComponent,      // 0x00
12    pub keywords: *mut *mut BGSKeyword, // 0x08
13    pub numKeywords: u32,               // 0x10
14    pub pad14: u32,                     // 0x14
15}
16const _: () = assert!(core::mem::size_of::<BGSKeywordForm>() == 0x18);
17
18impl BGSKeywordForm {
19    pub const RTTI: VariantID = RTTI_BGSKeywordForm;
20    pub const VTABLE: [VariantID; 1] = VTABLE_BGSKeywordForm;
21}
22
23#[repr(C)]
24pub struct BGSKeywordFormVtbl {
25    pub base: BaseFormComponentVtbl,
26    pub HasKeyword: extern "C" fn(this: *const BGSKeywordForm, keyword: *const BGSKeyword) -> bool, // 0x04
27    pub GetDefaultKeyword: extern "C" fn(this: *const BGSKeywordForm) -> *mut BGSKeyword, // 0x05
28}